<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<title>首页</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet"
	href="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.css" />

<script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script
	src="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body width="95%">
	<div data-role="page" id="pageone">

		<div data-role="header">
			<a id="goHome"  href="/dcms/ui/bussinessmain?device=mobile"
				class="ui-btn ui-corner-all ui-shadow ui-icon-home ui-btn-icon-left">主页</a>
			<h1>添加/修改巡检信息</h1>
		</div>

		<input type="hidden" id="identify" th:value="${bussinessId}" />

		<div data-role="main" class="ui-content" style='background:url(/dcms/img/backimg.jpg) 50% 0 no-repeat;background-size:cover'>
			<form method="post" id="saveOrUpdateInspectForm">

				<!-- 从服务器传递过来的参数 -->
				<div th:if="${id != ''}">
					<input id="inspectId" name="id" type="hidden" th:value="${id}" />
				</div>
				<div style="display: none">
					<fieldset data-role="fieldcontain">

						<select name="bussinessId" id="bussinessId"
							data-native-menu="false">
							<option th:value="${bussinessId}">这里有没有都关系</option>
						</select>
					</fieldset>
				</div>
				<div>
					<input data-clear-btn="true" type="text" name="inspectCondition"
						id="inspectCondition" placeholder="检查情况" />
				</div>
				<!-- <div>
					<input data-clear-btn="true" type="text" name="rectifyCondition"
						id="rectifyCondition" placeholder="整改情况" />
				</div> -->
				<div>
					<input data-clear-btn="true" type="text" name="remark" id="remark"
						placeholder="备注" />
				</div>
				<div>
					<input id="saveOrUpdateBtn" data-clear-btn="true" type="submit"
						data-inline="true" value="提交" />
				</div>
			</form>
		</div>
		<div data-role="footer">
			<h1>版权所有 违者必究</h1>
		</div>
	</div>
	<script th:src="@{/mobile/bussinessInspection/saveOrUpdateOnPhone.js}"></script>
	<script th:inline="javascript">
		window.rootPath= /*[[${#httpServletRequest.getContextPath()}]]*/
	</script>
</body>
</html>